import service from "../index";
export const getSearch = (params) => {
      return service({
          method:'GET',
          url:'/search/hotSearchByShopId',
          params
      })
  
    return new Promise((res) => {
      res({
          code:200,
          data:{
            recentSearch:[ //最近搜索
              '酒水食品','名车','PS5',
            ],
            findSearch:[  //搜索发现
            '酒水食品','名车','PS5',
            ]
          }
      });
    });
  };